projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a11f9
)
(generate-calendar-month): Make highlighted text for mouse-2 a one character
author
Edward M. Reingold
<reingold@emr.cs.iit.edu>
Tue, 5 Jul 1994 15:44:40 +0000
(15:44 +0000)
committer
Edward M. Reingold
<reingold@emr.cs.iit.edu>
Tue, 5 Jul 1994 15:44:40 +0000
(15:44 +0000)
wide for single-digit dates (this undoes the incorrect fix of May 30, 1994).
lisp/calendar/calendar.el
patch
|
blob
|
history
diff --git
a/lisp/calendar/calendar.el
b/lisp/calendar/calendar.el
index 2cc35b6f18204d744771694363f26cfb8bb74368..bb3aaed68b5c2468905de0c9d809c23ef7abe86f 100644
(file)
--- a/
lisp/calendar/calendar.el
+++ b/
lisp/calendar/calendar.el
@@
-1402,7
+1402,8
@@
characters on the line."
;; Put in the days of the month
(calendar-for-loop i from 1 to last do
(insert (format "%2d " i))
- (put-text-property (- (point) 3) (1- (point)) 'mouse-face 'highlight)
+ (put-text-property (- (point) (if (< i 10) 2 3)) (1- (point))
+ 'mouse-face 'highlight)
(and (zerop (mod (+ i blank-days) 7))
(/= i last)
(calendar-insert-indented "" 0 t) ;; Force onto following line